namespace System.Utility.Helper
{
	public static class Format
	{
		public static string FormatSecond(int second)
		{
			string str;
			if (second < 60)
			{
				str = string.Format("{0}秒", second);
			}
			else if (second >= 3600)
			{
				int num = second / 3600;
				int num1 = second % 3600 / 60;
				int num2 = second % 3600 % 60;
				str = string.Format("{0}时{1}分{2}秒", num, num1, num2);
			}
			else
			{
				str = string.Format("{0}分{1}秒", second / 60, second % 60);
			}
			return str;
		}
	}
}